/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package zkouseni;

import cards.CardGameIface;
import cards.PrsiGame;
import cards.UIText;

/**
 *
 * @author vlada
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
         
//        Card cervenySpodek = new Card(Suit.CERVENY, Rank.SPODEK);
//        Card zelenySpodek = new Card(Suit.ZELENY, Rank.SPODEK);
//        System.out.println(cervenySpodek.equals(zelenySpodek));
//        
//        Card jinaKarta = new Card(Suit.CERVENY, Rank.SPODEK);
//        System.out.println(cervenySpodek.equals(jinaKarta));
//        
//        Scanner in = new Scanner(System.in);
//        System.out.println("Enter index of the card that you want to play:");
//        while(!in.hasNextInt()) {            
//            in.next();
//        }        
//        int number = in.nextInt();
//        System.out.println(number);
//        
        String[] names = {"Karel", "Franta", "Pepa"};
        CardGameIface game = new PrsiGame(names, 4);
        
        UIText ui = new UIText(game);
        ui.play();
//        int j = 3;
//        for (int i = 0; i < j; i++) {
//            System.out.format("%d + 1 %% %d = %d%n", i, j, (i + 1)%j );
//        }
    }
}
